package com.example.quartz.core;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.example.quartz.service.QrtzJobDetailsService;

@Component
public class QuartzIniitlizer {

	@Autowired
	public void init(
	 QrtzJobDetailsService service) throws Exception{
		service.scheduleAll();
	}

}
